package epimarket.beans;

import java.io.Serializable;

@SuppressWarnings("serial")
public class Prix implements Serializable {
	private int id;
	private float prix;
	private float prime_eco;
	private float tva;
	
	public Prix() {
		this.id = -1;
		this.prix = 0.0f;
		this.prime_eco = 0.0f;
		this.tva = 19.6f;
	}
	
	public String toString() {
		String str = "";
		str += "id_prix = " + this.id + "<br />";
		str += "prix = " + this.prix + "<br />";
		str += "prime_eco = " + this.prime_eco + "<br />";
		str += "tva = " + this.tva + "<br />";
		return str;
	}
	
	/*
	 * Getter et Setter
	 */
	
	public int getId() {
		return id;
	}

	public void setId(int idd) {
		this.id = idd;
	}
	
	public float getPrix() {
		return prix;
	}

	public void setPrix(float prix) {
		this.prix = prix;
	}

	public float getPrime_eco() {
		return prime_eco;
	}

	public void setPrime_eco(float prime_eco) {
		this.prime_eco = prime_eco;
	}

	public float getTva() {
		return tva;
	}

	public void setTva(float tva) {
		this.tva = tva;
	}
}
